<?php 
namespace lib;
class ReturnJson{
	public function json($code,$message,$data){
		$result = array(
				"code"=> $code,
				"message"=> $message,
				"data"=> $data
			);
		return json_encode($result,JSON_UNESCAPED_UNICODE);
	}
}


 
?>